package com.lxf.education.utils;

import java.util.Date;

/**
 * @author Luoxingfa
 */
public class Constant {

    /**
     * 邮箱验证码 生效时间
     */
	public static int getMinute(Date fromDate, Date toDate) {
		 
		return (int)(toDate.getTime()-fromDate.getTime())/(60 * 1000); 
	}
}
